﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;

namespace ZZMES.TCP
{
    /// <summary>
    /// 客户端状态类
    /// </summary>
    public class StateObject
    {
        /// <summary> 客户端 </summary>
        public TcpClient Client { set; get; }
        private byte[] receiveData = new byte[2048];
        /// <summary>接收数据 </summary>
        public byte[] ReceiveData
        {
            get
            {
                return receiveData;
            }
            set
            {
                receiveData = value;
            }
        }
    }
}
